package com.atguigu.ssyx.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class WgResponse {

    private Integer id;

    private String jsonrpc;

    @JsonProperty("result")
    private ApiResult apiResult;

    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class ApiResult {

        private String code;

        private String msg;

        private String success;

        @JsonProperty("设备序列号")
        private String sn;

    }

}
